﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArduinoInterOp.Delegates
{
    public delegate void ArsuinoResponseEventHandler(object sender, ArsuinoResponseEventArgs args);

    public class ArsuinoResponseEventArgs : EventArgs
    {
        public ArsuinoResponseEventArgs(string response)
        {
            this.ResponseString = response;
            this.Response = new ArduinoQueuedResponse(ResponseString);
        }

        public ArduinoQueuedResponse Response { get; set; }

        public string ResponseString { get; set; }
    }
}
